package com.bjfu.demo.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import com.bjfu.demo.service.SiteDataService;

/**
 * @create 2021-02-22 10:05
 */
@RestController
public class SiteDataController {

  @Autowired private SiteDataService siteDataService;

    @GetMapping("/hello")
    public Object selectAll(){
    return siteDataService.selectAll();
    }
}
